
public class StoneCombination {

	private static final int TOTAL_STONE_NUMBER = Constant.TOTAL_HOLE_NUMBER;
			
	private int attackStoneNumber;
	
	private int defenseStoneNumber;
	
	private int hpStoneNumber;
	
	public StoneCombination() {
		
	}
	
	public StoneCombination(int attackStoneNumber, int defenseStoneNumber, int hpStoneNumber) {
		this.attackStoneNumber = attackStoneNumber;
		this.defenseStoneNumber = defenseStoneNumber;
		this.hpStoneNumber =hpStoneNumber;
	}

	public int getAttackStoneNumber() {
		return attackStoneNumber;
	}

	public void setAttackStoneNumber(int attackStoneNumber) {
		this.attackStoneNumber = attackStoneNumber;
	}

	public int getDefenseStoneNumber() {
		return defenseStoneNumber;
	}

	public void setDefenseStoneNumber(int defenseStoneNumber) {
		this.defenseStoneNumber = defenseStoneNumber;
	}

	public int getHpStoneNumber() {
		return hpStoneNumber;
	}

	public void setHpStoneNumber(int hpStoneNumber) {
		this.hpStoneNumber = hpStoneNumber;
	}
	
	@Override
	public boolean equals(Object o) {
		StoneCombination sc = (StoneCombination)o;
		if(this.attackStoneNumber == sc.attackStoneNumber &&
		   this.defenseStoneNumber == sc.defenseStoneNumber &&
		   this.hpStoneNumber == sc.hpStoneNumber) {
			return true;
		}
		else{
			return false;
		}
	}
	
}
